import json

data = [{"name": "长大时", "age": 11}, {"name": "长大时2", "age": 12}, {"name": "长大时3", "age": 13}]
json_str = json.dumps(data, ensure_ascii=False)
print(json_str)
d = {"name": "长大时5", "age": 15}
json_str = json.dumps(d, ensure_ascii=False)
print(json_str)

s='[{"name": "长大时", "age": 11}, {"name": "长大时2", "age": 12}, {"name": "长大时3", "age": 13}]'
t=json.loads(s)
print(t)
